Implementing a PanelOverlay

Description

Using the PanelOverlay container type in a component.

For an explanation of PanelOverlay containers watch this video or follow the guide below.

Add a PanelOverlay that Appears over Multiple Panels.

  1. In the UX Builder on the UX Controls page check the 'Mobile' checkbox in the controls page toolbar.

    images/po2.png
  2. Open the 'Other Controls' menu. Click on the [Button] option to add a button control to the component.

    images/po3.png
  3. Highlight the button in the controls tree. In the properties list on the right change the 'Button text' property to read 'Fixed Pos in Layout'.

    images/po4.png
  4. With the button highlighted open the Containers menu. Click on the [Container] option.

    images/po5.png
  5. From the 'Container Type' list select 'PanelOverlay' and click 'Insert Around'.

    images/po6.png
  6. Highlight the opening panel overlay tag in the controls tree, [PanelOverlay: PANELOVERLAY_1].

    images/po7.png
  7. In the properties list on the right view the 'Container Begin Properties' section. Set the 'PanelOverlay bottom' property to be 70px.

    images/po8.png
  8. Set the 'PanelOverlay left' property to be 10px.

    images/po9.png
  9. Set the 'PanelOverlay right' property to be 10px.

    images/po10.png
  10. Highlight the closing panel overlay tag in the controls tree.

    images/po11.png
  11. Open the 'Other Controls' menu and add one or two [Button] controls to the component.

    images/po12.png
  12. Open the 'Data Controls' menu and add a [TextBox] control to the component

    images/po13.png
  13. Highlight the newly added controls.

    images/po14.png
  14. Open the 'Panels' menu and click on the [Panel Card] option and click 'Insert Around' to wrap the highlighted controls in a panel card..

    images/po15.png
  15. Add a second set of controls and wrap them in a second [Panel Card], under the first panel card.

    images/po16.png
  16. Highlight everything in the controls tree and open the 'Panels' menu. Click on the [Panel Navigator] option to add a panel navigator to the component.

    images/po17.png
  17. The ux controls tree should look like this:

    images/po18.png
  18. Run the component in Live Preview. Notice the button in the PanelOverlay container.

    images/po19.png
  19. Press down on the left mouse button and move the mouse to flip between the two panels in the panel navigator. The Panel Overlay should remain fixed in one place.

    images/po20.png

See Also